<template lang="">
    <div id='main'>
        <chartsy :option='option' />
    </div>
</template>
<script>
import chart from '@/views/me/chart.vue'

export default {
      components:{
       chartsy :  chart
   },    
    data(){
        return{
            option: {
                 xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
  },
  yAxis: {
    type: 'value'
  },
  series: [
    {
      data: [150, 230, 224, 218, 135, 147, 260],
      type: 'line'
    }
  ]
            }
        }
    },
 
}
</script>
<style lang="scss">
    #main{
        width: 300px;
        height: 300px;
    }
</style>